<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="check_logstate.jsp"></jsp:include>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%><!doctype html>
<html lang="zh_CN">
<head>
<base href="<%=basePath%>" />
<title>欢迎使用网站大学生实训平台</title>
<link rel="stylesheet" href="css/font.css">
<link rel="stylesheet" href="css/xadmin.css">
<script src="lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="lib/layui/controller.js"></script>
</head>
<body>
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-body layui-table-body layui-table-main">
						<table class="layui-table layui-form">
							<thead>
								<tr>
									<th style="text-align: center">学生用户</th>
									<th style="text-align: center">岗位</th>
									<th style="text-align: center">报名日期</th>
									<th style="text-align: center">状态</th>
								</tr>
							</thead>
							<c:forEach items="${asignList}" var="asign">
								<tr align="center">
									<td class="center">${asign.realname}</td>
									<td class="center">${asign.goodsname}</td>
									<td class="center">${asign.addtime}</td>
									<td class="center">${asign.status}</td>
								</tr>
							</c:forEach>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div style="text-align: right">
		<form action="asign/queryAsignByCond.action" name="myform" method="post">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">查询条件</label>
					<div class="layui-input-block">
						<select name="cond" style="width: 200px" class="layui-input">
							<option value="usersid">按学生用户查询</option>
							<option value="goodsid">按岗位查询</option>
							<option value="addtime">按报名日期查询</option>
							<option value="status">按状态查询</option>
						</select>
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">关键字</label>
					<div class="layui-input-block">
						<input type="text" name="name" required style="width: 200px" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<input type="submit" value="查询" class="layui-btn" />
				</div>
			</div>
		</form>
	</div>
</body>
</html>
